package com.test.shiyan2;

import java.util.Scanner;

public class timejisuan {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("输入换算的数");
        double in = sc.nextDouble();
        int time = (int) (in*3600);
        int h = time/3600;
        int m=(time-h*3600) / 60;
        int s = (time-h*3600) % 60;
        System.out.println(h + "时"+m+"分"+s+"秒");
        sc.close();
    }
}
